package team.szm.scd.expand.mybatisplus.config;

import com.baomidou.mybatisplus.core.injector.ISqlInjector;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import team.szm.scd.expand.mybatisplus.ScdSqlInjector;

@Configuration(proxyBeanMethods = false)
@MapperScan("team.szm.scd.expand.mybatisplus.mapper")
public class ExpandMybatisPlusConfig {
    @Bean
    public ISqlInjector iSqlInjector() {
        return new ScdSqlInjector();
    }
}
